package com.tm.fiverole.conf;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author wangSang
 * @create 2022-08-18 14:37
 */
@Configuration
@EnableTransactionManagement
public class MyBaitsPlusConfig {


    public PaginationInterceptor paginationInterceptor(){

        return new PaginationInterceptor();
    }
}
